package co.edu.usbcali.scrum.dataaccess.dao;

import co.edu.usbcali.scrum.modelo.Item;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for ItemDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IItemDAO {
    public void save(Item instance);

    public void delete(Item instance);

    public void update(Item instance);

    public Item findById(String id);

    public List<Item> findByExample(Item instance);

    public List<Item> findByProperty(String propertyName, Object value);

    public List<Item> findAll();

    public List<Item> findByCriteria(String whereCondition);

    public List<Item> findPageItem(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberItem();

    public List<Item> findByCodigoItem(Object codigoItem);

    public List<Item> findByEstado(Object estado);

    public List<Item> findByNombre(Object nombre);
}
